package com.csap.framework.oauth2.server.model;
import com.csap.framework.oauth2.server.entity.PermissionsEntity;
import com.csap.framework.annotation.apidoc.Description;
import lombok.Data;
import lombok.AllArgsConstructor;
import com.csap.framework.annotation.apidoc.ApiModelProperty;
import java.time.LocalDateTime;

import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.Builder;
import com.csap.mybatisplus.extension.activerecord.CloneModel;
import lombok.experimental.Accessors;
import com.csap.framework.annotation.apidoc.ApiModel;
/**
 * <p>
 * 权限
 * </p>
 *
 * @author yangchengfu
 * @dateTime 2021-07-25 23:51:30
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "权限", value = "permissions对象")
@Description(value = "权限Model")
public class PermissionsModel extends CloneModel<PermissionsModel, PermissionsEntity> {
    @ApiModelProperty(description = "权限ID", value = "权限ID")
    private Long permissionsId;
    @ApiModelProperty(description = "创建时间", value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(description = "权限名称", value = "权限名称")
    private String name;
    @ApiModelProperty(description = "权限描述", value = "权限描述")
    private String descr;
    @ApiModelProperty(description = "权限值", value = "权限值")
    private String value;
    @ApiModelProperty(description = "是否删除", value = "是否删除")
    private Integer del;
    @ApiModelProperty(description = "是否可用", value = "是否可用")
    private Integer enabled;

}
